package com.java.auth.process;

import org.springframework.stereotype.Component;

@Component
public class UserBean {

    public String getUserName(int id){
        if(id==1){
            return "lk";
        }else if(id == 2){
            return "hehe";
        }else{
            return "admin";
        }
    }
}
